From: Florian Müllner Date: Mon, 11 Feb 2019 18:50:37 +0000 (+0100) Subject: appMenu: Add separator between "Details" and "Quit" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~274 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ffaca00594b8090c4959a6f2c2183c8a53d1d009;p=gnome-shell.git appMenu: Add separator between "Details" and "Quit" The two actions are sufficiently different to warrant their own groups. https://gitlab.gnome.org/GNOME/gnome-shell/issues/968 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index 36e16d3c2..a1f119941 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -105,6 +105,8 @@ class AppMenu extends PopupMenu.PopupMenu { }); }); + this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); + this.addAction(_("Quit"), () => { this._app.request_quit(); });